setPrecomputedText

open fun setPrecomputedText(@NonNull precomputed: @NonNull PrecomputedTextCompat)(source)

Sets the PrecomputedTextCompat to the TextView. If the given PrecomputeTextCompat is not compatible with textView, throws an IllegalArgumentException.

Parameters

precomputed

the precomputed text

Throws

if precomputed text is not compatible with textView.